home *** CD-ROM | disk | FTP | other *** search
/ Joint Education Initiative / Joint Education Initiative.iso / dos / user_doc / nodc.doc < prev    next >
Text File  |  1990-06-25  |  32KB  |  800 lines

  1. 1. INTRODUCTION
  2.  
  3. The National Oceanographic Data Center (NODC) is the United
  4. States national facility established to acquire, process, store,
  5. and disseminate global oceanographic data.  NODC's master files
  6. and other archive holdings include data collected by U.S. federal
  7. agencies; state and local government agencies; universities and
  8. research institutions; foreign government agencies and
  9. institutions; and private industry. NODC operates as an
  10. organizational component of the National Oceanic and Atmospheric
  11. Administration (NOAA) and the National Satellite,Data and
  12. Information Service (NESDIS).  Currently, NODC maintains a
  13. digital archive of both earth-sensed and satellite-sensed ocean
  14. data in excess of 25 Gigabytes.  A potential additional 10
  15. Gigabytes of digital data are currently maintained in analog form
  16. such as data reports, manuscripts, and analog instrument
  17. recordings.  With the establishment of NODC data management
  18. procedures for ocean observing satellites, including non-NOAA
  19. geostationary and orbiting platforms; for new global collection
  20. efforts, including the Global Ocean Flux Study (GOFS), the World
  21. Ocean Climate Experiment (WOCE), and NOAA's Climate and Global
  22. Change Project; and for new U. S. coastal ocean studies,
  23. including CoastWatch and the Coastal Ocean Program, this archive
  24. is expected to increase twentyfold between FY90 and FY95.
  25.  
  26. In 1988 the National Oceanographic Data Center (NODC) initiated a
  27. project to produce its first ocean data compact disc.  Over a
  28. period of several months in early 1989, the NODC selected and
  29. edited the data and arranged for mastering and production of the
  30. disc, which was designated as NODC-01, Thermal-Salinity Profiles
  31. of the Pacific Ocean.  NODC developed this disc to test the
  32. feasibility and practicality of distributing large portions of
  33. its digital oceanographic database for use with desktop
  34. microprocessors.  The medium of compact disc-read only memory
  35. (CD-ROM)  has already received acceptance in the scientific and
  36. technical community as a standard for data and information
  37. access.  Acceptance of NODC-01 by the oceanographic community has
  38. stimulated theData Center to produce a series of CD-ROMs
  39. containing major portions of its physical, chemical, and
  40. biological data holdings.  These discs are scheduled to be made
  41. available on a scheduled basis beginning in October, 1990 with
  42. the production of NODC-02, Thermal-Salinity Profiles for the
  43. Atlantic Ocean.
  44.  
  45. NODC-01 contains over 1.3 million Pacific Ocean temperature-depth
  46. and salinity-depth profiles taken between 1900 and 1988.  Most of
  47. the profiles were taken by means of bottle casts and mechanical
  48. and expendable bathythermographs.  A smaller number of
  49. observations were taken using
  50. conductivity/salinity-temperature-depth (C/STD) profilers. The
  51. data were submitted to the NODC by a wide range of federal,
  52. national, and international institutions.  They represent the
  53. results of hundreds of scientific investigators, millions of
  54. miles of ship tracks, and untold work hours of collection,
  55. analysis, and processing. 
  56. With the exception of data transcribed from ship broadcast radio
  57. messages, all of the profiles have received some measure of
  58. scientific and logical quality testing before inclusion in the
  59. NODC database.  Data known to be of questionable quality were not
  60. candidates for the disc and were eliminated.  In addition, data
  61. selected for possible inclusion on the CD-ROM were passed through
  62. a coarse statistical screen, eliminating about three percent of
  63. the available observations.  Undoubtedly, a small percentage of
  64. profiles resident on the CD would not pass a rigorous scientific
  65. quality evaluation.  NODC hopes that the unprecedented ease of
  66. access to its data afforded by CD-ROM technology will enable the
  67. user community to identify profiles that should be either
  68. "flagged" or purged from the global archives. 
  69.  
  70. The disc was produced using the ISO 9660 formatting standard.  It
  71. may be read by all CD-ROM players capable of using this or the
  72. previous High Sierra standard.  The physical format is similar to
  73. that of other MS-DOS compatible media, having directories and
  74. subdirectories recognizable to the operating system.  The profile
  75. data are formatted in ASCII, recognizable to most personal
  76. computer languages, including FORTRAN, C, Pascal, and BASIC.
  77. Thus, the data can be easily accessed and manipulated by a
  78. limitless variety of "user-created" software modules.
  79.  
  80. As part of the Joint Education Initiative (JEdI) Prject,
  81. NODC has contributed a sample of ocean profile data from
  82. NODC-01 to be used in the first series of JEDI discs.  Software
  83. to access and display the data accompany the profiles.
  84.  
  85. 2.  NODC JEdI DISC CONTENTS
  86.  
  87. The data selected for the JEdI CD-ROM were derived
  88. from NODC's six major  temperature and salinity profile data
  89. files. These files contain:
  90.  
  91.      1.   Oceanographic station (Nansen cast) data (SD2);
  92.  
  93.      2.   Low-resolution conductivity/salinity-temperature-depth
  94.      (C/STD) data (C/STD with parameter values at selected depths
  95.      derived from original high resolution profiles);
  96.  
  97.      3.   Mechanical bathythermograph (MBT) data;
  98.  
  99.      4.   Expendable bathythermograph (XBT) data;
  100.  
  101.      5.   Selected-level bathythermograph (SBT) data (XBT data
  102.      submitted to NODC at user-specified depths rather than at
  103.      inflection points) ; and
  104.  
  105.      6.   Radio message bathythermograph (IBT)  data.
  106.  
  107. Again, except for the IBT temperature profiles, most of the data
  108. have undergone some degree of NODC quality checking before
  109. inclusion in the data archives.  For BT data this included
  110. logical testing for valid (in water) positions; parameter values
  111. within normal minimum/maximum temperature ranges; observed depths
  112. not exceeding bathymetric depth; and reasonable vessel speed of
  113. advance.  SD2 and C/STD data are screened by NODC oceanographic
  114. staff who set quality flags in the data record to denote
  115. questionable parameter values.  During the selection process for
  116. data to be recorded on the CD-ROM disc, depth levels having
  117. either doubtful or missing parameter values were excluded.
  118.  
  119. The area selected for the project is the Pacific Ocean rim along
  120. the California to Alaska coastline and an area along the Peru and
  121. Ecuador coastline.  These areas are subsets of the NODC Compact
  122. Disc NODC-01, Thermal-Salinity Profiles of the Pacific Ocean. 
  123. The data are organized by ten-degree latitude-longitude squares,
  124. which are identified using the World Meteorological Organization
  125. (WMO) ten-degree square numbering scheme (Appendix A).  As the
  126. data were being selected and reviewed for placement on CD-ROM,
  127. considerable variation in the temperature and salinity value
  128. ranges within ten-degree squares was noted. These variations
  129. suggested positional errors in the data or, in the case of radio
  130. message data (IBT), erroneous encoding/transmission of values. To
  131. try eliminating these questionable profiles, statistical files of 
  132. temperature and salinity were computed for each ten-degree
  133. square.  For each observed depth level with a sufficient number
  134. of available observations from the surface to 2999 meters,
  135. minimum and maximum parameter values were computed along with the
  136. number of values, sum, sum of squares, mean, and standard
  137. deviation.
  138.  
  139. The standard deviation was computed and the test performed at
  140. each depth level only if there were at least five parameter
  141. values available.  Therefore, there are a few profiles on the
  142. CD-ROM with observed data levels for which this statistical
  143. screening could not be performed and with unreasonable
  144. temperature or salinity values.
  145.  
  146. The development of the ten-degree square statistics files was an
  147. iterative process.  Although only two files (SD2 and C/STD)
  148. provided salinity profiles, temperature profiles were available
  149. from all six files.  Statistics files for temperature and
  150. salinity were first computed using only the data from the
  151. Oceanographic Station Data File--the NODC file having the highest
  152. scientific confidence level. For each ten-degree square the
  153. selected SD2 data was then tested against the statistical
  154. summaries.  If parameter values (either temperature or salinity)
  155. at any depth level exceeded plus or minus four standard
  156. deviations, the entire cast or station was deleted. 
  157.  
  158. The C/STD, XBT, and SBT data sets were next selected and
  159. evaluated in that order.  In each case the selected data set was
  160. used to augment the ten-degree square statistics files, and then
  161. those profiles were compared to the augmented, composite files.
  162. For example, C/STD temperature values and salinity values were
  163. evaluated against statistics files computed from both SD2 and
  164. C/STD data.  The order for this evaluation was determined by the
  165. quality and volume of data.  SD2 contributed the greatest number
  166. of profiles.
  167.  
  168. C/STD profiles, although significantly fewer in number, have
  169. quality comparable to the SD2 data.  XBT and SBT temperature
  170. profiles are considered of comparable quality that is higher than
  171. that of either the MBT or IBT data.   The MBT and IBT data sets
  172. are of lower quality and were screened using the statistics
  173. files, but their data values were not used to recompute the
  174. temperature statistics files.  
  175.  
  176. 3. NODC JEdI DISC DIRECTORY STRUCTURE
  177.  
  178. Operating within the MS-DOS environment, the NODC files have the
  179. following data directory structure:
  180.  
  181.      NODC Directory.     Five files are located in this
  182.                          directory:
  183.  
  184.           PROFSEL.EXE is the NODC temperature-salinity profile
  185.           access and display software module designed for use
  186.           with the JEDI compact disc.
  187.  
  188.           HELP.NDX is the menu help screen file used by PROFSEL. 
  189.      
  190.           ONESQ is a random access file containing counts of
  191.           stations by NODC data file segregated by one-degree
  192.           latitude/longitude squares (see Appendix A for a
  193.           description of the algorithm used to create access
  194.           codes).
  195.  
  196.           SHIP.DAT is a random access file containing a
  197.           cross-reference of NODC vessel names and platform
  198.           codes.
  199.  
  200.           README.DOC is a copy of this document in MS-DOS text
  201.           form.
  202.  
  203.  
  204.      SD2 Subdirectory.   This directory contains 10 files. Each
  205.                          file contains data from the NODC
  206.                          Oceanographic Station Data File for a
  207.                          single ten-degree latitude/longitude
  208.                          square.  A sample file name is:
  209.  
  210.                               SD27214.ROM
  211.  
  212.                          where:
  213.  
  214.                               SD2 = Identifier for the
  215.                               Oceanographic Station Data File.
  216.  
  217.                               7214 = WMO ten-degree square
  218.                               number, which is determined as
  219.                               follows:
  220.  
  221.                          7 = Quadrant 1 (North Latitude, West     
  222.                              Longitude)
  223.        
  224.                          2 = 20 N to 30 N Latitude
  225.  
  226.                          14 = 140 E to 150 W Longitude
  227.  
  228.                               ROM = File extension indicating
  229.                               data residing on the CD-ROM disc.
  230.  
  231.      STD Subdirectory.   This directory contains 10 files. Each
  232.                          file contains NODC Low Resolution C/STD
  233.                          data for a single ten-degree
  234.                          latitude/longitude square.  The file
  235.                          naming convention is the same as that of
  236.                          the SD2 directory except that the three
  237.                          leading characters are STD. As an
  238.                          example:
  239.  
  240.                               STD7214.ROM
  241.  
  242.      MBT Subdirectory.   This directory contains 10 files.  Each
  243.                          file contains NODC Mechanical
  244.                          Bathythermograph data for a single ten
  245.                          degree latitude/longitude square.  The
  246.                          file naming convention is the same as
  247.                          that of the SD2 directory except that
  248.                          the three leading characters are MBT. As
  249.                          an example:
  250.  
  251.                               MBT7214.ROM
  252.  
  253.      XBT Subdirectory.   This directory contains 10 files.  Each
  254.                          file contains NODC Expendable
  255.                          Bathythermograph data for a single
  256.                          ten-degree latitude/longitude square. 
  257.                          The file naming convention is the same
  258.                          as that of the SD2 directory except that
  259.                          the three leading characters are XBT. As
  260.                          an example:
  261.  
  262.                               XBT7214.ROM
  263.  
  264.      SBT Subdirectory.   This directory contains 10 files.  Each
  265.                          file contains NODC Selected-Level
  266.                          Bathythermograph data for a single
  267.                          ten-degree latitude/longitude square. 
  268.                          The file naming convention is the same
  269.                          as that of the SD2 directory except that
  270.                          the three leading characters are SBT. As
  271.                          an example:
  272.  
  273.                               SBT7214.ROM
  274.  
  275.      IBT Subdirectory.   This directory contains 10 files.  Each
  276.                          file contains NODC Radio Message
  277.                          Bathythermograph data for a single
  278.                          ten-degree latitude/longitude square. 
  279.                          The file naming convention is the same
  280.                          as that of the SD2 directory except that
  281.                          the three leading characters are IBT. 
  282.                          As an example:
  283.  
  284.                               IBT1214.ROM
  285.  
  286.  
  287. 4.  FILE STRUCTURE/FORMAT
  288.  
  289. All temperature and temperature/salinity profile data appear on
  290. the disk with a .ROM suffix.  These files are written as a series
  291. of variable length ASCII records. Storing the data as binary
  292. records or using available compression/compaction routines were
  293. not considered. We felt that an ASCII representation would allow
  294. users more freedom to choose from a variety of software to make
  295. use of the profile data and information. Data copied from the
  296. CD-ROM to diskette or hard disk can be manipulated by most text
  297. editors, list processors, word processors, and other commercial
  298. data or text manipulation packages.
  299.  
  300. In each .ROM file physical records represent a complete profile
  301. or observed station.  The first thirty-six (36) characters
  302. represent the profile "header" and contain descriptive
  303. information about the profile, including date-time, position,
  304. vessel, instrument/data type, NODC cruise and station number, and
  305. the number of observed depth levels. Characters 37 through the
  306. end of the record contain measured parameters in a series of
  307. repeating groups.  For SD2 and STD data records, each repeating
  308. group is twelve (12) characters long representing depth,
  309. temperature, and salinity as three four-byte fields.
  310. Bathythermograph records (MBT, XBT, SBT, and IBT)  have repeating
  311. groups of eight (8) characters representing only depth and
  312. temperature.  The actual record length will correspond to either
  313. 8 or 12 times the number of observed levels plus the 36-byte
  314. header.  A detailed record layout for .ROM files can be found in
  315. Appendix B, Tables B.1 through B.3.
  316.  
  317.  
  318.  
  319. 5.  SYSTEM REQUIREMENTS
  320.  
  321. The minimum hardware requirements for accessing NODC data and
  322. information from are:
  323.  
  324.      - CD-ROM reader capable of accessing a disc formatted with
  325.      the ISO 9660 standard
  326.  
  327.      - Microsoft MS-DOS Extensions for CD-ROM, Version 2.0 or
  328.      higher
  329.  
  330. In addition, to execute the NODC companion software, the
  331. following are required:
  332.  
  333.      -  640 Kb of memory, with at least 500 Kb available
  334.      - EGA or VGA graphics adapter
  335.  
  336.      - EGA, VGA,  or multi-synchronous color graphics monitor
  337.  
  338.      
  339.  
  340. 6.  NODC DATA ACCESS AND DISPLAY SOFTWARE (PROFSEL)
  341.  
  342. The NODC portion of the JEdI disk contains an executable software
  343. module, PROFSEL, for accessing and displaying data from and
  344. information about the NODC profiles as well as various files
  345. required by the CD-ROM software.  PROFSEL is a JEDI-specific
  346. version of the software created for accessing data from the NODC-
  347. 01 compact disc, NODCSEL.  PROFSEL and NODCSEL are NOT
  348. interchangeable.  Additionally, a copy of this document appears
  349. in MS-DOS text format (as a ubiquitous file README.DOC) and may
  350. be browsed with various text editors or list processors. 
  351.  
  352. The software was written in QuickBASIC and PASCAL and designed to
  353. be "User friendly".  The modules is screen and menu oriented. 
  354. The user is generally provided with enough information to make
  355. practical use of the module at the first sitting.  PROFSEL, has
  356. built-in help screens.  As with most software, a bit of practice
  357. should enable users to become quite comfortable with this
  358. routine.
  359.  
  360. PROFSEL is executed by moving to the NODC Directory on the JEDI
  361. compact disc and entering:
  362.  
  363.           NODCSEL
  364.  
  365. followed by a CR or Enter.
  366.  
  367. The user is prompted through a series of menus to provide the
  368. detailed selection criteria desired.  At any point in the
  369. selection menu process the user may respond with the letter "H"
  370. or the F1 function key to display a single page "help" screen.
  371. These screens are designed to provide more detailed information
  372. about the selection prompting process.
  373.  
  374. As each data selection and plotting option is chosen, the
  375. selection criteria are displayed on the right side of the screen.
  376. At the termination of the selection process, the user is
  377. requested to review the options chosen and to make a final
  378. decision as to whether to continue or to restart the selection
  379. process.
  380.  
  381. Many of the data selection/data display options have default
  382. settings.  Where defaults exist, the default values are displayed
  383. on the prompting screen. Pressing a CR or Enter key will select
  384. the default values.  As the user makes selections, those
  385. selections become the default values. This feature allows for
  386. ease of changing one or two options on a second or third pass
  387. through the selection process by merely pressing the CR or Enter
  388. key at each non-changing option.
  389.  
  390. PROFSEL enables users to:
  391.  
  392.      Display, subset, or display and subset profile data from the
  393.      CD;
  394.  
  395.      Select from any, all, or any combination of the six data
  396.      types;
  397.  
  398.      Select data from any of ten WMO ten-degree square;
  399.  
  400.      Select data by inclusive dates, by single years, or by
  401.      months for all years;
  402.  
  403.      Select data by vessel, identified either by NODC shipcode or
  404.      by ship name;
  405.  
  406.      Select data by NODC Country Code (see Appendix C);
  407.  
  408.      Select data by NODC Cruise Number;
  409.  
  410.      Select data for profiles deeper than a user selected minimum
  411.      depth;
  412.  
  413.      Plot temperature-depth profiles with user selected ranges,
  414.      and, where appropriate, to plot salinity-depth or
  415.      temperature-depth profiles; and
  416.  
  417.      Select and display data through various combinations of the
  418.      above.
  419.  
  420. The profile plotting options provide a two-screen, EGA color
  421. display. Selected profiles are displayed at user chosen speeds on
  422. the main screen. For temperature-depth (T-Z), salinity-depth
  423. (S-Z), and temperature-salinity (T-S) plots, the user may toggle
  424. to the secondary screen to display the actual data values for the
  425. profile plotted on the main screen. For combination plots
  426. displaying all profile options, the main screen displays T-S
  427. curves while the secondary screen displays T-Z and S-Z curves. No
  428. data value display is available with this option.
  429.  
  430. For all plotting options the main screen is divided into three
  431. segments. The left portion of the screen displays the selected
  432. profile, either T-Z, S-Z, or T-S curves. For combination plots
  433. the T-S curve is plotted. The upper right portion of the screen
  434. displays information from the profile header for the plotted
  435. data. The lower right portion displays the geographic area
  436. selected (i.e., the WMO ten-degree square.)  As each station is
  437. plotted, its location is highlighted.
  438.  
  439. During plotting the user controls various operations by means of
  440. the keyboard function keys. The developers have reserved some of
  441. these keys for future enhancements. PROFSEL uses the following
  442. keys:
  443.  
  444.      F1 - Pressing this key during T-Z, S-Z, or T-S plotting
  445.           toggles to the data value display screen while plotting
  446.           pauses. All header and profile information is
  447.           displayed. For stations with more depth values than can
  448.           be displayed on one page, an option exists to display
  449.           the remainder on further pages. Pressing any
  450.           non-function key while viewing the data display page
  451.           will return to the main screen and resume plotting.  
  452.  
  453.           If the user has chosen the combination option of
  454.           displaying all three types of curves (T-Z, S-Z, and
  455.           T-S), the F1 key has no effect.
  456.  
  457.      F2 - Not Used
  458.  
  459.      F3 - Pressing this key during plotting freezes the screen.
  460.  
  461.      F4 - Pressing this key after the F3 key has been pressed
  462.           resumes plotting.
  463.  
  464.      F5 - Data are plotted at a range of ten speeds, each speed
  465.           represented by a delay indicator value from 0 through
  466.           9.  This value is displayed in the upper right hand
  467.           portion of the screen.  Initially, all plots begin with
  468.           a mid-range setting of 4.  Pressing this key will
  469.           increase the plotting speed (decreasing the delay
  470.           indicator).  Once a value of zero (0) has been reached,
  471.           this key has no further effect.
  472.  
  473.      F6 - Pressing this key reverses the action of the F5 key and
  474.           decreases the data plotting speed (increasing the delay
  475.           indicator value).  Once the maximum value of nine (9)
  476.           has been reached, this key no further effect.
  477.  
  478.      F7 - For T-Z, S-Z, and T-S combination plots, pressing this
  479.           key toggles between display screens.  For all other
  480.           plotting options, this key has no effect.
  481.  
  482.      F8 - Not Used
  483.  
  484.      F9 - Pressing this key during plotting terminates the plot
  485.           and returns the user to the selection menu.  If the
  486.           user specifies data subsetting while plotting, the
  487.           output file is closed at the last profile that was
  488.           plotted.
  489.  
  490.     F10 - Pressing this key during plotting terminates the plot
  491.           and the program. As with the F9 key, any output files
  492.           are closed at the point of termination, however the
  493.           user is returned to the system prompt.
  494.  
  495. By virtue of being a menu driven module, PROFSEL is easier to
  496. operate than to explain.  By exercising the program's various
  497. options and observing the results, users should quickly become
  498. familiar with its operation and comfortable with its use.
  499.  
  500.  
  501. 7.  SOFTWARE UPDATES AND SOURCE CODE
  502.  
  503. Although source code is not supplied with the software
  504. diskette, it is  also available.  Requests  should be
  505. directed to:
  506.  
  507.                National Oceanographic Data Center
  508.                ADP Support Division  E/OC3
  509.                1825 Connecticut Ave., N.W.
  510.                Washington, DC  20235
  511.  
  512.  
  513. 8.  USER EVALUATION
  514.      
  515. The National Oceanographic Data Center is very much interested in
  516. receiving comments and suggestions from all users who have the
  517. opportunity to use the NODC portion of the JEDI disc and its
  518. accompanying data access and display software.  All comments
  519. and/or criticisms should be forwarded to:
  520.  
  521.                Mr. Peter J. Topoly
  522.                Office of Systems Planning - E/OCx4
  523.                NOAA/NESDIS/NODC
  524.                1825 Connecticut Ave., NW
  525.                Washington, DC   20235
  526.  
  527.  
  528. 9. OTHER DATA AVAILABLE FROM NODC
  529.  
  530. The temperature and salinity profile data on this disc, which
  531. were selected from NODC's Pacific Ocean Data CD-ROM, represent
  532. only a very small fraction of the NODC's data resources.  NODC's
  533. data files contain physical, chemical, and biological
  534. oceanographic data collected in the water column from the sea
  535. surface to the ocean floor.  NODC's major physical-chemical data
  536. files provide global coverage; most of the biological
  537. oceanographic data is from U.S. coastal and continental shelf
  538. areas.  
  539.  
  540. NODC data holdings include: 
  541.           -- wind and wave data from ocean buoys and from
  542.           satellites;
  543.           
  544.           -- surface and subsurface ocean current data from ship
  545.           drift observations, moored current meters, and
  546.           drifting buoys;
  547.           
  548.           -- sea level data from the Pacific Ocean Sea Level
  549.           Network;
  550.           
  551.           -- concentrations of nutrients such as nitrate,
  552.           silicate and phosphate;
  553.           
  554.           -- concentrations of toxic substances and pollutants
  555.           such as hydrocarbons and pesticides; and
  556.           
  557.           -- observations and measurements on the distibution
  558.           and characteristics of marine organisms such as
  559.           phytoplankton, zooplankton, fish, shellfish, and
  560.           marine birds and mammals.
  561.  
  562. For further information about the data and information products
  563. and services of the NODC, please contact:
  564.  
  565.               National Oceanographic Data Center
  566.               User Services Branch
  567.               NOAA/NESDIS  E/OC21
  568.               Universal Building, Room 412
  569.               1825 Connecticut Avenue, NW
  570.               Washington, DC  20235
  571.  
  572.               Telephone:  202-673-5549 
  573.  
  574.  
  575. Appendix A.  Data Inventory Algorithm
  576.  
  577. The data inventory of CD-ROM NODC-01 encompasses an area that
  578. contains 270 ten-degree squares or 27,000 one degree squares. The
  579. file ONESQ.NDX consists of 27,000 records, each consisting of six
  580. two-byte integers representing the profile counts for each
  581. archive data type. The order of the counts within the record is
  582. SD2, C/STD, MBT, XBT, IBT, and SBT. 
  583.  
  584. The following algorithm was used to compute the index or record
  585. number for each one-degree square:
  586.  
  587.           QUADSTART(1) = 0
  588.           QUADSTART(2) = 49
  589.           QUADSTART(3) = 105
  590.           QUADSTART(4) = 193
  591.  
  592.           Q = (WMO-QUADRANT + 1) / 2     
  593.           IF ( Q < 3 ) THEN
  594.           FACTOR = 7
  595.               LONTEN = TENS OF DEGREES, LONGITUDE - 11
  596.           ELSE
  597.           FACTOR = 11
  598.               LONTEN = TENS OF DEGREES, LONGITUDE - 7
  599.           END IF
  600.           INDEX = ((QUADSTART(Q) + (TENS OF DEGREES, LATITUDE  x
  601.               FACTOR) + LONTEN)  x 100) +  WMO ONE-DEGREE
  602.               EXTENSION + 1
  603.  
  604.  
  605. EXAMPLE:   Compute index (record number) for  WMO ten-degree
  606. square 1214, one-degree square extension 53,  (Area from 25_N to
  607. 26_N and 143_E to 144_E)* 
  608.  
  609. For WMO one-degree square number 121453:
  610.  
  611.           Q = (1 + 1)/2 = 1
  612.           FACTOR = 7
  613.           LONTEN = 14 - 11 = 3
  614.           INDEX = ((0 + (2 x 7) + 3) x 100 + 53 + 1 = 1754
  615.  
  616.  
  617. (*NOTE:  The four-digit WMO ten-degree square number and the
  618. two-digit WMO one-degree square extension are created as follows:
  619.      
  620.      WMO ten-degree square:   
  621.               Digit 1 = WMO quadrant of globe
  622.                    (1 = NE, 3 = SE, 5 = SW, and 7 = NW)
  623.           Digit 2 = Tens of degrees of latitude
  624.           Digit 3 = Hundreds of degrees of longitude
  625.           Digit 3 = Tens of degrees of longitude
  626.  
  627.      WMO one-degree square extension:   
  628.           Digit 1 = Units of degrees of latitude
  629.           Digit 2 = Units of degrees of longitude
  630.  
  631. Therefore, for the example above, the WMO ten-degree square
  632. number is given by:  Digit 1 = 1, Digit 2 = 2, Digit 3 = 1,
  633. and Digit 4 = 4, or 1214; the two-digit WMO one-degree
  634. square extension is given by:  Digit 1 = 5 and Digit 2 = 3,
  635. or 53.)
  636.  
  637.  
  638.                    Appendix B.  Data Formats
  639.  
  640. Table B.1    Header Format of .ROM Files 
  641.  
  642.        Starting
  643. Field   Column  Length    Description    
  644.  
  645. WMO QUAD   1      1      WMO quadrant code:    1=northeast
  646.                                                3=southeast
  647.                                                5=southwest
  648.                                                7=northwest
  649.  
  650. LATITUDE   2      4      Latitude (DDMM)
  651.  
  652. LONGITUDE  6      5      Longitude (DDDMM)
  653.  
  654. DATE      11      6      Date (YYMMDD)
  655.  
  656. TIME      17      3      Time (hours to tenths)
  657.  
  658. VESSEL    20      4      NODC ship code consisting of a two-character country
  659.                          code and a two-character vessel code
  660.  
  661. NUMBER OF
  662. GROUPS    24      3      Number of depth-temp or depth-temp-salinity
  663.                          repeating groups
  664.              
  665. DATA TYPE 27      1      NODC archive data type:  1 = SD2
  666.                                                   2 = C/STD
  667.                                                   3 = MBT
  668.                                                   4 = XBT
  669.                                                   5 = SBT
  670.                                                   6 = IBT
  671.  
  672. CRUISE    28      5      NODC-assigned cruise reference number
  673.  
  674. STATION   33      4      NODC-assigned station reference number
  675.  
  676.  
  677.  
  678. Table B.2  Format of Repeating Data Groups for SD2 and STD Files
  679.  
  680.       Starting
  681. Field       Column Length  Description    
  682.  
  683. DEPTH          37     4    First depth (whole meters)
  684.  
  685. TEMPERATURE    41     4    First temperature (degrees Centigrade to hundredths)
  686.  
  687. SALINITY       45     4    First salinity (parts per thousand to hundredths)
  688.          .
  689.          .
  690.          .
  691. (A series of 12-byte long repeating groups of the above start at 
  692. byte 37.  The total number of such groups is given in the
  693. header.)
  694.  
  695.  
  696. Table E.3  Format of Repeating Data Groups for
  697. Bathythermograph Files
  698.  
  699.           Starting
  700. Field          Column       Length Description    
  701.  
  702. DEPTH          37      4    First depth (whole meters)
  703.  
  704. TEMPERATURE    41      4    First temperature (degrees Centigrade to hundredths)
  705.          .
  706.          .
  707.          .
  708. (A series of 8-byte long repeating groups of the above start at
  709. byte 37.  The total number of such groups is given in the header)
  710.  
  711.  
  712.  
  713. Appendix C.  NODC Country Codes
  714.  
  715.      Code Country
  716.  
  717.      AL   ALGERIA
  718.      BA   BARBADOS
  719.      BH   BAHAMAS
  720.      BN   BONAIRE
  721.      CA   CURACAO
  722.      CI   CAYMAN ISLANDS
  723.      CR   COSTA RICA
  724.      CU   CUBA
  725.      CY   CYPRUS
  726.      GH   GHANA
  727.      GR   GRENADA
  728.      IC   IVORY COAST
  729.      JA   JAMAICA
  730.      MA   MAURITIUS
  731.      M    MALTA
  732.      MO   MONACO
  733.      MS   MALAYSIA
  734.      NI   NIGERIA
  735.      OM   OMAN
  736.      PA   PANAMA
  737.      RC   CONGO, PEOPLE'S REPUBLIC OF THE
  738.      SE   SENEGAL
  739.      SI   SINGAPORE
  740.      SL   SIERRA LEONE
  741.      SU   SUDAN
  742.      TN   TONGA
  743.      TT   TRINIDAD/TOBAGO
  744.      ZA   TANZANIA
  745.      ZZ   MISCELLANEOUS ORGANIZATIONAL UNITS
  746.      06   GERMANY, FEDERAL REPUBLIC OF
  747.      07   GERMANY, DEMOCRATIC REPUBLIC OF
  748.      08   ARGENTINA
  749.      09   AUSTRALIA
  750.      10   AUSTRIA
  751.      11   BELGIUM
  752.      14   BRAZIL
  753.      15   BULGARIA
  754.      18   CANADA
  755.      20   CHILE
  756.      21   TAIWAN
  757.      22   COLOMBIA
  758.      24   KOREA, REPUBLIC OF
  759.      26   DENMARK
  760.      27   ARAB REPUBLIC OF EGYPT
  761.      28   ECUADOR
  762.      29   SPAIN
  763.      31   UNITED STATES
  764.      32   UNITED STATES
  765.      34   FINLAND
  766.      35   FRANCE 
  767.      36   GREECE
  768.      41   INDIA
  769.      42   INDONESIA
  770.      45   IRELAND
  771.      46   ICELAND
  772.      47   ISRAEL
  773.      48   ITALY
  774.      49   JAPAN
  775.      54   LIBERIA
  776.      55   MALAGASY REPUBLIC
  777.      56   MOROCCO
  778.      57   MEXICO
  779.      58   NORWAY
  780.      59   NEW CALEDONIA
  781.      61   NEW ZEALAND
  782.      62   PAKISTAN
  783.      64   NETHERLANDS
  784.      65   PERU
  785.      66   PHILIPPINES
  786.      67   POLAND
  787.      68   PORTUGAL
  788.      74   UNITED KINGDOM
  789.      76   CHINA, PEOPLE'S REPUBLIC OF
  790.      77   SWEDEN
  791.      86   THAILAND
  792.      88   TUNISIA
  793.      89   TURKEY
  794.      90   UNION OF SOVIET SOCIALIST REPUBLICS
  795.      91   SOUTH AFRICA
  796.      92   URUGUAY
  797.      93   VENEZUELA
  798.      94   VIETNAM
  799.      95   YUGOSLAVIA
  800.